Creating a file and opening it in vi Editor.
Customize the vi Editor using :set Commands
mkdir
Comman
d
ls
Command
echo
Comma
nd
touch
Comman
d
nano
Comma
nd
batcat
Comm
and
clear
Command
ll
Command
cat
Command
cat
write
cat
appen
d
rmdir
Command
rm
command
echo
Comma
nd
mv
Command
more
Command
Regex
Commands
diff
Command
bc
Command
man
Command
:
man
mkdir
calendar
Com
mand
date
Comman
d
wc
Command
pwd
Command
passwd
Comman
d
history
Comman
d
cmp
Comman
d
shutdown
Comman
d
cp
Command
mv
Command
mkdir
Comman
d
cd
Command
rmdir
Command
rm
Command
ls
Command
wc
Command
more
Command
Wildcard
Comm
ands
Creating
a
file
and
opening
it
in
vi
Editor.
Typing
data
in
vi
Editor
Navigating
to
Insert
mode
by
pressing
“a”
key.
Command
Mode
:wq
command
to
save
and
exit
the
file.
:w!
command
to
write
the
above
content
to
particular
file.
:
n,
m
w!
comm
and
to
write
from
line
n
to
m
at
particular
file.
:q!
–
Q
uit
file
without
s
aving
Searching
text
in
vi
Editor
/
and
?
commands
Press
“n”
key
to
r
epeat
last
comman
d
Copy
and
Paste
Commands
xp
Command
:
Transpose
two
Characters
yy
Command
:
Copy
to
General
Buffer
“3yy”
and
then
“p”
Storing
Yank
into
buffered
name
“ayy
on
4th
l
ine
will
save
that
line
into
buffer
named
“a”
“byy
on
5th
line
will
save
that
line
into
buffer
named
“
b”
“aP
to
print
text
o
n
next
line
which
is
in
buffered
named
“a”
“bp
to
print
text
which
is
in
buffered
named
“b”
Customize
the
vi
Editor
using
:set
Commands
:set
nu
Command
:set
showmode
command,
shows
us
the
Mode
at
bottom
of
prompt
:set
noshowmode
Comman
d,
does
not
show
the
mode
of
vi
editor.
Ignore
Case
for
Searching
and
R
eplacing
By
default
vi
Editor
is
Case
S
ensitive.
:set
ic
–
For
ignoring
case.
:set
noic
–
For
setting
mode
as
Case
Sensitive
Print
the
G
reatest
Number
Number
Tables
Check
if
Number
is
Prime
o
r
Composite
Factorial
of
a
Number
Fibonacci
Series
Palindrome
String
Menu
Driven
Program
using
CASE
Statement
Armstrong
Number
Simple
AWK
Programs
Chmod
Comma
nd
Create
and
Man
ager
Users
and
Groups
Creating
a
User
Updating
a
User
Adding
a
Group
Adding
User
to
Group
Updating
a
Group
Monitor
Disk
Usage
df
Command
du
Command
find
Command
dd
Command
Gcc
Command
Redirection
Grep
Command
Sarvesh
Ana
nd
M
ankar
14220
3013
Comp
Di
v-2